package org.itboys.core.service.mongo.front;

import org.itboys.core.entity.mongo.SundayHarmRecord;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 作者：zzq
 * 时间：2018/12/13
 * 描述：
 */
@Service
public class SundayFrontHarmRecordService extends BaseMongoService<SundayHarmRecord> {
    @Resource(name = "mobileDs")
    private MongoDataSource sundayDataSource;

    @Override
    protected MongoDataSource getMongoDataSource() {
        return sundayDataSource;
    }

    @Override
    protected Class<SundayHarmRecord> getEntityClass() {
        return SundayHarmRecord.class;
    }

}
